import java.awt.event.*;
public class Card implements ActionListener{
	String imagepath;
	String text;
	BoardUi board;
	
	public Card(String path, String txt, BoardUi b) {
		this.imagepath = path;
		this.text = txt;
		this.board = b;
	}
	
	public void shuffle(Card[] cards) {
		
	}
	public void actionPerformed(ActionEvent eh) {
	if(this.board.bl[this.board.currentPlayer.getCurrentPosition()] instanceof Chance){
		if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
	}
	else if(this.board.bl[this.board.currentPlayer.getCurrentPosition()] instanceof CommunityChest) {
if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
			
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
		else if(this.text == "") {
	
		}
	}
	}
}
